<template>
	<!-- <view class="fixed-top">
		<text class="t">{{pageTitle}}</text>
	</view> -->
	<view class="top-bg">
		<image src="../../static/img/index-top-bg.png" class="bg-img" mode="aspectFill"></image>
	</view>
	<view class="contents">
		<view class="wrap">
			<view class="logo">
				<image class="logo-img" src="/static/img/logo.png"></image>
			</view>
			<!-- 搜索 -->
			<view class="search">
				<image src="../../static/img/fdj.png" class="ico" mode="aspectFit"></image>
				<input class="ipt" :value="searchkey" placeholder="搜内容、会员单位、活动" placeholder-class="ipt-placeholder" @input="searchkeyIpt" @confirm="doSearch" confirm-type="search"></input>
			</view>
			<!-- 轮播图 -->
			<view class="swiper-box">
				<swiper class="swiper" circular easing-function="easeInOutCubic" :autoplay="true" :interval="3000" :duration="600" @change="swiperChange" :current="swiperDotIndex">
					<swiper-item v-for="(item,index) in swiperInfo" :key="index">
						<image :src="item.img" class="swiper-item-img" mode="aspectFill"></image>
					</swiper-item>
				</swiper>
				<!-- 轮播指示点样式修改 -->
				<view class="dots">
					<block v-for="(item,index) in swiperInfo.length" :key="item">
						<view class="dot" :class="index==swiperCurrent ? ' active' : ''" @click="swiperClickItem(index)"></view>
					</block>
				</view>
			</view>
			<!-- 新闻轮播 -->
			<swiper class="news-swiper" vertical :autoplay="true" :interval="3000" :duration="600">
				<swiper-item class="swiper-item" v-for="(item,index) in noticeList" :key="index">
					<image src="../../static/img/ring.png" class="ring" mode="aspectFit"></image>
					<view class="news-title">
						<text class="t">{{item.title}}</text>
					</view>
					<image src="../../static/img/more-cor.png" class="more-cor" mode="aspectFit"></image>
				</swiper-item>
			</swiper>
			<!-- 快捷导航 -->
			<view class="fast-nav">
				<view class="nav-item">
					<image class="img" src="/static/img/index-navs/1.png" mode="aspectFill"></image>
					<view class="title">关于商会</view>
				</view>
				<view class="nav-item">
					<image class="img" src="/static/img/index-navs/2.png" mode="aspectFill"></image>
					<view class="title">惠企政策</view>
				</view>
				<view class="nav-item">
					<image class="img" src="/static/img/index-navs/3.png" mode="aspectFill"></image>
					<view class="title">党建引领</view>
				</view>
				<view class="nav-item">
					<image class="img" src="/static/img/index-navs/4.png" mode="aspectFill"></image>
					<view class="title">企业展示</view>
				</view>
				<view class="nav-item">
					<image class="img" src="/static/img/index-navs/5.png" mode="aspectFill"></image>
					<view class="title">好物优选</view>
				</view>
				<view class="nav-item">
					<image class="img" src="/static/img/index-navs/6.png" mode="aspectFill"></image>
					<view class="title">信息交流</view>
				</view>
				<view class="nav-item">
					<image class="img" src="/static/img/index-navs/7.png" mode="aspectFill"></image>
					<view class="title">活动报名</view>
				</view>
				<view class="nav-item">
					<image class="img" src="/static/img/index-navs/8.png" mode="aspectFill"></image>
					<view class="title">申请入会</view>
				</view>
			</view>
			<!-- 快捷入口 -->
			<view class="quick_entrance clearfix">
				<view class="left" @click="goPage('notice')">
					<text class="title">通知公告</text>
					<text class="sub-title">了解商会最新通知</text>
					<image src="../../static/img/more-ico.png" class="more-ico" mode="aspectFit"></image>
					<image src="/static/img/l-bg.png" class="bg" mode="aspectFit"></image>
				</view>
				<view class="right-1" @click="goPage('login')">
					<text class="title">登录入口</text>
					<image src="../../static/img/more-ico.png" class="more-ico" mode="aspectFit"></image>
					<image src="/static/img/r1-bg.png" class="bg" mode="aspectFit"></image>
				</view>
				<view class="right-2" @click="goPage('activity')">
					<text class="title">优惠活动</text>
					<image src="../../static/img/more-ico.png" class="more-ico" mode="aspectFit"></image>
					<image src="/static/img/r2-bg.png" class="bg" mode="aspectFit"></image>
				</view>
			</view>
			<!-- 新闻动态 -->
			<view class="mod-top">
				<view class="left">
					<image src="../../static/img/model-ico.png" class="mod-ico" mode="aspectFit"></image>
					<text class="title">新闻动态</text>
				</view>
				<view class="right">
					<text class="t">了解更多</text>
					<image src="../../static/img/more-cor-1.png" class="more-ico" mode="aspectFit"></image>
				</view>
			</view>
			<view class="card list">
				<view class="list-item" v-for="(item,index) in newsList" :key="index">
					<image :src="item.img" class="item-img" mode="aspectFill"></image>
					<view class="list-info">
						<text class="title">{{item.title}}</text>
						<view class="sub-info">
							<text>{{item.publish_at}}</text>
							<text>·</text>
							<text>浏览量：{{item.page_views}}次</text>
						</view>
					</view>
				</view>
			</view>
			<!-- 商会活动日历 -->
			<view class="cloud-title">
				<image src="../../static/img/cloud-left.png" class="l-ico" mode="aspectFit"></image>
				<text class="title">商会活动日历</text>
				<image src="../../static/img/cloud-right.png" class="r-ico" mode="aspectFit"></image>
			</view>
			<view class="card activitys">
				<view class="tab-btns">
					<view class="tab-btn-item" :class="{on:activityIndex == 0 ? true: false}" @click="activityIndex = 0">
						<text>活动报名</text>
						<image src="../../static/img/tab-on.png" class="on-btn" mode="aspectFit"></image>
					</view>
					<view class="tab-btn-item" :class="{on:activityIndex == 1 ? true: false}" @click="activityIndex = 1">
						<text>往期活动</text>
						<image src="../../static/img/tab-on.png" class="on-btn" mode="aspectFit"></image>
					</view>
				</view>
				<view class="tab-main">
					<view class="tab-item" v-if="activityIndex==0">
						<view class="activity-item">
							<image src="../../static/temp/activity1.png" class="img" mode=""></image>
							<text class="title">烟台市女企业家商会芝罘二会员之家活动预告</text>
							<view class="desc">
								<image src="../../static/img/clock-ico.png" class="ico" mode="aspectFit"></image>
								<text class="t">2024年8月10日（星期六）晚上</text>
							</view>
							<view class="desc">
								<image src="../../static/img/address-ico.png" class="ico" mode="aspectFit"></image>
								<text class="t">烟台碧海大厦3楼华夏厅</text>
							</view>
						</view>
						<view class="activity-item">
							<image src="../../static/temp/activity2.png" class="img" mode=""></image>
							<text class="title">烟台市女企业家商会牟平会员之家重磅活动来啦~</text>
							<view class="desc">
								<image src="../../static/img/clock-ico.png" class="ico" mode="aspectFit"></image>
								<text class="t">2023年8月16日（周日）下午18:00至20:00</text>
							</view>
							<view class="desc">
								<image src="../../static/img/address-ico.png" class="ico" mode="aspectFit"></image>
								<text class="t">牟平区长途车站东门南侧50米处</text>
							</view>
						</view>
					</view>
					<view class="tab-item" v-if="activityIndex==1">
						<view class="activity-item">
							<image src="../../static/temp/activity1.png" class="img" mode=""></image>
							<text class="title">烟台市女企业家商会芝罘二会员之家活动预告</text>
							<view class="desc">
								<image src="../../static/img/clock-ico.png" class="ico" mode="aspectFit"></image>
								<text class="t">2024年8月10日（星期六）晚上</text>
							</view>
							<view class="desc">
								<image src="../../static/img/address-ico.png" class="ico" mode="aspectFit"></image>
								<text class="t">烟台碧海大厦3楼华夏厅</text>
							</view>
						</view>
						<view class="activity-item">
							<image src="../../static/temp/activity2.png" class="img" mode=""></image>
							<text class="title">烟台市女企业家商会牟平会员之家重磅活动来啦~</text>
							<view class="desc">
								<image src="../../static/img/clock-ico.png" class="ico" mode="aspectFit"></image>
								<text class="t">2023年8月16日（周日）下午18:00至20:00</text>
							</view>
							<view class="desc">
								<image src="../../static/img/address-ico.png" class="ico" mode="aspectFit"></image>
								<text class="t">牟平区长途车站东门南侧50米处</text>
							</view>
						</view>
					</view>
				</view>
			</view>
			<!-- 人物介绍 -->
			<view class="card persons">
				<view class="tab-btns">
					<view class="tab-btn-item" v-for="(item,index) in personsTab" :key="index" :class="{on:personsIndex == index ? true: false}" @click="personsIndex = index">
						<image src="../../static/img/model-ico.png" class="on-btn" mode="aspectFit"></image>
						<text>{{item.title}}</text>
					</view>
				</view>
				<view class="tab-main">
					<view class="tab-item" v-for="(item,index) in personsList" :key="personsIndex">
						<view class="person-item" v-if="personsIndex==index">
							<image :src="item.img" class="img" mode="aspectFill"></image>
							<view class="info">
								<text class="title">{{item.title}}</text>
								<text class="sub-title">{{item.sub_title}}</text>
								<view class="tags">
									<text v-for="(tagItem,tagIndex) in item.tags" :key="tagIndex">{{tagItem}}</text>
								</view>
							</view>
						</view>
					</view>
				</view>
				<view class="show-more">
					<view class="more">
						<text class="t">查看更多</text>
						<image src="../../static/img/more-cor-2.png" class="more-cor" mode="aspectFit"></image>
					</view>
				</view>
			</view>

		</view>
		<!-- 好物优选 -->
		<view class="goods">
			<view class="mod-top1">
				<view class="left">
					<view class="pre">
						<image src="../../static/img/model-ico.png" class="left-ico" mode="aspectFit"></image>
						<text class="title">好物优选</text>
						<view class="tag">
							<text class="tag-title">优选好品</text>
							<image src="../../static/img/goods-top-tag-bg.png" class="tag-bg" mode="aspectFit"></image>
						</view>
					</view>
					<image src="../../static/img/goods-top.png" class="bg" mode="aspectFit"></image>
				</view>
				<view class="right">
					<text class="t">更多</text>
					<image src="../../static/img/more-cor-1.png" class="more-ico" mode="aspectFit"></image>
				</view>
			</view>
			<view class="wrap goods-list">
				<view class="goods-item" v-for="(item,index) in goodsList" :key="index">
					<image :src="item.img" class="goods-img" mode="aspectFill"></image>
					<text class="title">{{item.title}}</text>
					<view class="item-bottom">
						<view class="price">
							￥<text class="new">{{item.price_new}}</text>
							<text class="old">￥{{item.price_old}}</text>
						</view>
						<view class="btns">
							<image src="../../static/img/add-shopcar-btn.png" class="add-to-shopcar" mode="aspectFit" @click="addToShopCar(item)"></image>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
	<!-- 品牌广告 -->
	<view class="wrap brand-ad-box">
		<swiper class="brand-ad-swiper" circular easing-function="easeInOutCubic" :autoplay="true" :interval="3000" :duration="600" @change="brandAdChange" :current="brandAdDotIndex">
			<swiper-item v-for="(item,index) in brandAdList" :key="index">
				<image :src="item.img" class="brand-ad-img" mode="aspectFill"></image>
			</swiper-item>
		</swiper>
		<!-- 轮播指示点样式修改 -->
		<view class="dots">
			<block v-for="(item,index) in brandAdList.length" :key="item">
				<view class="dot" :class="index==brandAdCurrent ? ' active' : ''" @click="brandAdClickItem(index)"></view>
			</block>
		</view>
	</view>
	<!-- 合作伙伴 -->
	<view class="partner">
		<image src="../../static/img/partner-bg.png" class="partner-bg" mode="aspectFit"></image>
		<view class="partner-pre">
			<view class="mod-top1">
				<view class="left">
					<view class="pre">
						<image src="../../static/img/model-ico.png" class="left-ico" mode="aspectFit"></image>
						<text class="title">合作伙伴</text>
					</view>
				</view>
				<view class="right">
					<text class="t">了解更多</text>
					<image src="../../static/img/more-cor-1.png" class="more-ico" mode="aspectFit"></image>
				</view>
			</view>
			<view class="partner-list">
				<view class="partner-item" v-for="(item,index) in partnerList" :key="index">
					<image :src="item.img" class="partner-img" mode="aspectFit"></image>
				</view>
				<image src="../../static/img/partner-bg1.png" class="partner-list-bg" mode="aspectFit"></image>
			</view>
			<view class="info">
				<text>与多家知名企业</text>
				<text>达成战略合作伙伴</text>
			</view>
		</view>
	</view>
	<view class="wrap footer">
		<view class="contact-bar" @click="goPage('contact')">
			<view class="white-circle">
				<image src="../../static/img/msg-ico.png" class="msg-ico" mode=" aspectFit"></image>
			</view>
			<view class="info">
				<text class="title">合作咨询</text>
				<text class="sub-title">咨询会员、活动、政策</text>
			</view>
			<image src="../../static/img/more-cor-3.png" class="more" mode="aspectFit"></image>
		</view>
		<image src="../../static/img/footer-img.png" class="footer-img" mode="aspectFit"></image>
		<view class="copyright">
			<text>女商智园</text>
			<text>山东网亿网络提供技术支持</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pageTitle: "女商智园",
				searchkey: "", // 搜索关键词
				swiperDotIndex: 0, //轮播图指示点下标
				swiperCurrent: 0, // 轮播当前下标
				swiperInfo: [{
						img: '../../static/temp/banner1.png',
					},
					{
						img: '../../static/temp/banner1.png'
					},
					{
						img: '../../static/temp/banner1.png'
					},
					{
						img: '../../static/temp/banner1.png'
					},
					{
						img: '../../static/temp/banner1.png'
					}
				], // 轮播图
				noticeList: [{
					id: 1,
					title: '《奋“泳”绽芳华》烟台市女企业家商会第二届游泳大赛通知(1)'
				}, {
					id: 2,
					title: '《奋“泳”绽芳华》烟台市女企业家商会第二届游泳大赛通知(2)'
				}, {
					id: 3,
					title: '《奋“泳”绽芳华》烟台市女企业家商会第二届游泳大赛通知(3)'
				}], // 公告轮播
				newsList: [{
						id: 1,
						img: '../../static/temp/news1.png',
						title: '烟台市女企业家商会秘书长工作会议圆满召开',
						publish_at: '2024-08-02',
						page_views: 32,
					},
					{
						id: 2,
						img: '../../static/temp/news2.png',
						title: '烟台市女企业家商会秘书长工作会议圆满召开',
						publish_at: '2024-08-02',
						page_views: 32,
					},
					{
						id: 3,
						img: '../../static/temp/news3.png',
						title: '烟台市女企业家商会秘书长工作会议圆满召开',
						publish_at: '2024-08-02',
						page_views: 32,
					}
				], // 新闻列表
				activityIndex: 0, // 商会活动日历当前显示下标
				personsIndex: 0, // 人物介绍当前显示下标
				personsTab: [{
					id: 1,
					title: '巾帼风采'
				}, {
					id: 2,
					title: '公益慈善'
				}], // 人物介绍tab
				personsList: [{
					img: '../../static/temp/persons1.png',
					title: '烟台市女企业家商会经济女性——张晓静',
					sub_title: '烟台绿云生物科技有限公司董事长',
					tags: [
						'农业微生物药品',
						'微生物菌肥',
						'功能性微生物',
						'功能性植物研究'
					]
				}, {
					img: '../../static/temp/persons1.png',
					title: '烟台市女企业家商会经济女性——张晓静1',
					sub_title: '烟台绿云生物科技有限公司董事长',
					tags: [
						'农业微生物药品',
						'微生物菌肥',
						'功能性微生物',
						'功能性植物研究'
					]
				}], // 人物介绍 list
				goodsList: [{
						img: '../../static/temp/goods1.png',
						title: '酱香花肉粽100g/个*6个/袋',
						price_new: 48,
						price_old: 56
					},
					{
						img: '../../static/temp/goods2.png',
						title: '蛋黄花肉粽100g/个*6个/袋',
						price_new: 48,
						price_old: 56
					},
					{
						img: '../../static/temp/goods3.png',
						title: '招牌蛋黄板栗大肉粽250g/个*2个/袋',
						price_new: 38,
						price_old: 58
					},
					{
						img: '../../static/temp/goods4.png',
						title: '百纳溢福多桃酥',
						price_new: 15,
						price_old: 28
					}
				],
				brandAdDotIndex: 0, // 品牌广告轮播图指示点下标
				brandAdCurrent: 0, // 品牌广告轮播当前下标
				brandAdList: [{
						img: '../../static/temp/brand-ad1.png',
					},
					{
						img: '../../static/temp/brand-ad1.png'
					},
					{
						img: '../../static/temp/brand-ad1.png'
					},
					{
						img: '../../static/temp/brand-ad1.png'
					},
					{
						img: '../../static/temp/brand-ad1.png'
					}
				], // 品牌广告轮播图
				partnerList: [{
						img: '../../static/temp/ad1.png'
					},
					{
						img: '../../static/temp/ad2.png'
					},
					{
						img: '../../static/temp/ad3.png'
					},
					{
						img: '../../static/temp/ad4.png'
					},
					{
						img: '../../static/temp/ad5.png'
					},
					{
						img: '../../static/temp/ad6.png'
					},
					{
						img: '../../static/temp/ad7.png'
					},
					{
						img: '../../static/temp/ad8.png'
					},
					{
						img: '../../static/temp/ad9.png'
					},
					{
						img: '../../static/temp/ad10.png'
					}
				] // 合作伙伴
			}
		},
		onLoad() {

		},
		onShow() {},
		onPageScroll(e) {
			// console.log(e)
		},
		methods: {
			// 输入关键词
			searchkeyIpt(e) {
				// this.searchkey = e.detail.value;
			},
			// 执行搜索
			doSearch(e) {
				console.log('执行搜索')
			},
			// 轮播图点击指示点
			swiperClickItem(e) {
				this.swiperDotIndex = e;
			},
			// 轮播图切换
			swiperChange(e) {
				this.swiperCurrent = e.detail.current
			},
			// 跳转页面
			goPage(e) {
				switch (e) {
					case 'notice':
						uni.showToast({
							title: '跳转到通知公告',
							icon: 'none'
						});
						break;
					case 'login':
						uni.showToast({
							title: '跳转到登录入口',
							icon: 'none'
						});
						break;
					case 'activity':
						uni.showToast({
							title: '跳转到优惠活动',
							icon: 'none'
						});
						break;
					case 'contact':
						uni.showToast({
							title: '跳转到合作咨询',
							icon: 'none'
						});
						break;
				}
			},
			// 添加购物车
			addToShopCar(e) {
				uni.showToast({
					title: '添加购物车成功',
					icon: 'none'
				});
			},
			// 品牌广告轮播图点击指示点
			brandAdClickItem(e) {
				this.brandAdDotIndex = e;
			},
			// 品牌广告轮播图切换
			brandAdChange(e) {
				this.brandAdCurrent = e.detail.current
			},
		}
	}
</script>
<style lang="scss" scoped>
	.fixed-top {
		width: 750rpx;
	}

	.top-bg {
		position: absolute;
		top: 0;
		left: 0;
		width: 750rpx;
		height: 840rpx;
	}

	.contents {
		position: relative;
		top: 0;
		left: 0;
		width: 750rpx;
		z-index: 2;
	}

	// 
	.contents {
		padding: 90rpx 0 0;
		z-index: 2;
	}

	.bg-img {
		width: 750rpx;
		height: 840rpx;
	}

	.logo {
		width: 546rpx;
		height: 76rpx;
		margin-left: 8rpx;

		.logo-img {
			width: 546rpx;
			height: 76rpx;
		}
	}

	// 搜索
	.search {
		width: 686rpx;
		height: 80rpx;
		margin-top: 38rpx;
		padding: 0rpx 24rpx 0rpx 24rpx;
		gap: 8rpx;
		border-radius: 60rpx;
		border: 2rpx solid #fff;
		background-color: rgba(0, 0, 0, .3);
		display: flex;
		align-items: center;
		justify-content: center;

		.ico {
			width: 40rpx;
			height: 40rpx;
		}

		.ipt {
			flex: 1;
			height: 78rpx;
			line-height: 78rpx;
			font-size: 28rpx;
			font-weight: 400;
			color: #fff;

			display: block;
		}
	}

	// 轮播
	.swiper-box {
		position: relative;
		width: 686rpx;
		height: 346rpx;
		margin: 30rpx 0 0;
		border-radius: 16rpx;
		overflow: hidden;

		.swiper {
			width: 686rpx;
			height: 346rpx;
			border-radius: 8rpx;

			.swiper-item-img {
				width: 686rpx;
				height: 346rpx;
			}
		}

		.dots {
			position: absolute;
			bottom: 30rpx;
			left: 50%;
			transform: translate(-50%, 0);
			-webkit-transform: translate(-50%, 0);
			z-index: 99;
			display: flex;
			flex-direction: row;
			justify-content: center;

			.dot {
				width: 16rpx;
				height: 8rpx;
				transition: all .6s;
				background: rgba(255, 255, 255, .5);
				margin-right: 16rpx;
				border-radius: 4rpx;

			}

			.active {
				width: 40rpx;
				background: rgba(255, 255, 255, 1);
			}
		}
	}

	// 新闻轮播
	.news-swiper {
		height: 104rpx;
		margin-top: 40rpx;
		border-radius: 12rpx;
		justify: space-between;
		background-color: #fff;

		.swiper-item {
			padding: 0 30rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			box-sizing: border-box;

			.ring {
				width: 40rpx;
				height: 40rpx;
				margin-right: 10rpx;
			}

			.news-title {
				flex: 1;
				overflow: hidden;

				.t {
					height: 44rpx;
					line-height: 44rpx;
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 1;
				}
			}

			.more-cor {
				width: 28rpx;
				height: 28rpx;
			}
		}
	}

	// 快捷导航
	.fast-nav {
		display: flex;
		flex-wrap: wrap;
		margin-top: 48rpx;
		padding: 0 32rpx;
		justify-content: space-around;
		gap: 32rpx;

		.nav-item {
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 12rpx;

			.img {
				width: 100rpx;
				height: 100rpx;
			}

			.title {
				font-size: 28rpx;
				font-weight: 400;
				line-height: 44rpx;
				text-align: center;
			}
		}
	}

	// 快捷入口
	.quick_entrance {
		margin-top: 88rpx;

		>view {
			position: relative;
			width: 336rpx;
			padding: 32rpx;
			border-radius: 16rpx;
			-webkit-column-break-inside: avoid-region;
			break-inside: avoid-page;
			float: left;

			.title,
			.sub-title {
				text-align: left;
				color: #fff;
				font-weight: 400;
				display: block;
			}

			.title {
				line-height: 44rpx;
				font-size: 32rpx;
			}

			.sub-title {
				line-height: 36rpx;
				margin-top: 16rpx;
				font-size: 24rpx;
			}

			.more-ico {
				position: absolute;
				bottom: 32rpx;
				left: 32rpx;
				width: 48rpx;
				height: 48rpx;
				z-index: 2;
			}

			.bg {
				position: absolute;
				bottom: 0;
				right: 0;
				z-index: 1;
			}
		}

		.left {
			height: 376rpx;
			margin-right: 14rpx;
			background: linear-gradient(105.16deg, #3593EA 0.45%, #90BDE4 99.55%);
			// overflow: hidden;

			.bg {
				width: 336rpx;
				height: 250rpx;
			}
		}

		.right-1,
		.right-2 {
			height: 180rpx;
		}

		.right-1 {
			border-top-right-radius: 40rpx;
			background: linear-gradient(105.77deg, #EACA32 0.73%, #F7E0B1 98.61%);

			.bg {
				width: 336rpx;
				height: 268rpx;
			}
		}

		.right-2 {
			margin-top: 16rpx;
			background: linear-gradient(287.64deg, #E0E48F 0%, #86B73E 94.95%);

			.bg {
				width: 154rpx;
				height: 180rpx;
			}
		}
	}

	// 新闻动态
	.list {
		margin-top: 40rpx;
	}

	// 商会活动日历
	.cloud-title {
		margin: 40rpx 0 0;
		display: flex;
		justify-content: center;
		align-items: center;

		.l-ico,
		.r-ico {
			width: 153rpx;
			height: 60rpx;
		}

		.l-ico {
			margin-right: -14rpx;
		}

		.r-ico {
			margin-left: -14rpx;
		}

		.title {
			position: relative;
			font-size: 36rpx;
			font-weight: 400;
			line-height: 50.4rpx;
			text-align: center;
			color: rgba(52, 156, 73, 1);
			z-index: 2;
		}
	}

	.activitys {
		margin-top: 40rpx;
		padding: 32rpx 24rpx 42rpx;

		.tab-btns {
			margin-bottom: 32rpx;

			.tab-btn-item {
				display: flex;
				flex-direction: column;
				align-items: center;

				.on-btn {
					width: 28rpx;
					height: 12rpx;
					marign-top: 4rpx;
					opacity: 0;
				}

				&.on {
					.on-btn {
						opacity: 1;
					}
				}
			}
		}

		.tab-item {
			display: flex;
			gap: 26rpx;

			.img {
				width: 306rpx;
				height: 202rpx;
			}

			.title {
				height: 88rpx;
				font-size: 28rpx;
				font-weight: 400;
				line-height: 44rpx;
				text-align: left;
				color: rgba(51, 51, 51, 1);
				overflow: hidden;
				text-overflow: ellipsis;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
			}

			.desc {
				display: flex;
				align-items: flex-start;
				gap: 8rpx;

				.ico {
					width: 32rpx;
					height: 32rpx;
				}

				.t {
					height: 72rpx;
					line-height: 36rpx;
					font-size: 24rpx;
					font-weight: 400;
					text-align: left;
					color: rgba(153, 153, 153, 1);
				}
			}
		}
	}

	// 人物介绍
	.persons {
		margin-top: 40rpx;

		.tab-btns {
			height: 104rpx;
			border-radius: 16rpx 16rpx 0rpx 0rpx;
			border-bottom: 2rpx solid rgba(245, 245, 245, 1);
			display: flex;
			align-items: center;
			gap: 0;

			.tab-btn-item {
				position: relative;
				flex: 1;
				text-align: center;
				display: flex;
				align-items: center;
				justify-content: center;

				&::after {
					position: absolute;
					top: 50%;
					right: 0;
					transform: translateY(-50%);
					content: "";
					width: 1rpx;
					height: 38rpx;
					border-right: 2rpx solid rgba(238, 238, 238, 1);
					display: block;
				}

				.on-btn {
					width: 35rpx;
					height: 45rpx;
					margin-right: 10rpx;
					opacity: 0;
				}

				.title {
					font-size: 36rpx;
					line-height: 48rpx;
				}

				&.on {
					.on-btn {
						opacity: 1;
					}
				}
			}
		}

		.tab-main {
			.person-item {
				display: flex;
				gap: 20rpx;
				padding: 40rpx 20rpx;

				.img {
					width: 240rpx;
					height: 280rpx;
					border-radius: 16rpx;
				}

				.info {
					flex: none;
					width: 386rpx;

					.title {
						height: 88rpx;
						line-height: 44rpx;
						font-size: 28rpx;
						font-weight: 400;
						text-align: left;
						color: rgba(52, 52, 50, 1);
						overflow: hidden;
						text-overflow: ellipsis;
						display: -webkit-box;
						-webkit-box-orient: vertical;
						-webkit-line-clamp: 2;
					}

					.sub-title {
						height: 36rpx;
						line-height: 36rpx;
						margin-top: 12rpx;
						font-size: 24rpx;
						font-weight: 400;
						text-align: left;
						color: rgba(153, 153, 153, 1);
						overflow: hidden;
						text-overflow: ellipsis;
						display: -webkit-box;
						-webkit-box-orient: vertical;
						-webkit-line-clamp: 1;
					}

					.tags {
						margin-top: 44rpx;
						display: flex;
						gap: 8rpx;
						flex-wrap: wrap;

						text {
							min-height: 44rpx;
							line-height: 36rpx;
							padding: 4rpx 12rpx;
							border-radius: 8rpx;
							background-color: rgba(245, 245, 245, 1);
							font-size: 24rpx;
							font-weight: 400;
							color: rgba(144, 144, 144, 1);
						}
					}
				}
			}
		}

		.show-more {
			margin: 0 20rpx;
			padding: 32rpx 0;
			border-top: 2rpx solid rgba(238, 238, 238, 1);
			display: flex;
			align-items: center;
			justify-content: center;

			.more {
				display: flex;
				align-items: center;
				justify-content: center;

				.t {
					font-size: 28rpx;
					font-weight: 400;
					line-height: 44rpx;
					color: rgba(59, 66, 92, 1);
				}

				.more-cor {
					width: 32rpx;
					height: 32rpx;
				}
			}
		}
	}

	// 好物优选
	.goods {
		width: 750rpx;
		margin: 40rpx 0;
		border-radius: 40rpx 40rpx 0rpx 0rpx;
		background: linear-gradient(180deg, #F9E3CE 0%, rgba(249, 227, 206, 0) 100%);

		.goods-list {
			margin-top: 32rpx;
		}
	}

	// 品牌广告轮播
	.brand-ad-box {
		position: relative;
		margin-top: 30rpx;
		border-radius: 16rpx;
		overflow: hidden;

		.brand-ad-swiper {
			width: 100%;
			height: 260rpx;
			border-radius: 8rpx;

			.brand-ad-img {
				width: 100%;
				height: 260rpx;
				border-radius: 16rpx;

			}
		}

		.dots {
			position: relative;
			margin: 40rpx 0 30rpx;
			left: 50%;
			transform: translate(-50%, 0);
			-webkit-transform: translate(-50%, 0);
			z-index: 99;
			display: flex;
			flex-direction: row;
			justify-content: center;

			.dot {
				width: 16rpx;
				height: 8rpx;
				transition: all .6s;
				background: rgba(39, 117, 182, .5);
				margin-right: 16rpx;
				border-radius: 4rpx;

			}

			.active {
				width: 40rpx;
				background: rgba(39, 117, 182, 1);
			}
		}
	}

	// 合作伙伴
	.partner {
		position: relative;

		.partner-bg {
			position: absolute;
			top: 0;
			left: 0;
			width: 750rpx;
			height: 500rpx;
			z-index: 1;
		}

		.partner-pre {
			position: relative;
			padding: 25rpx 0 8rpx;
			z-index: 2;

			.partner-list {
				position: relative;
				width: 710rpx;
				height: 231rpx;
				margin: 48rpx auto 40rpx;
				padding-left: 15rpx;
				display: flex;
				flex-wrap: wrap;
				gap: 19rpx;

				.partner-item {
					position: relative;
					width: 124rpx;
					height: 96rpx;
					// border: 2rpx solid #ccc;
					z-index: 2;
					display: flex;
					align-items: center;
					justify-content: center;

					.partner-img {
						width: 100rpx;
						height: 48rpx;
					}

					&:nth-child(1) {
						top: 10rpx;
					}

					&:nth-child(2) {
						top: 15rpx;
					}

					&:nth-child(3) {
						top: 20rpx;
						padding-left: 10rpx;
					}

					&:nth-child(4) {
						top: 15rpx;
					}

					&:nth-child(5) {
						top: 10rpx;
					}

					&:nth-child(6) {
						top: -10rpx;
					}

					&:nth-child(7) {
						top: -15rpx;
					}

					&:nth-child(8) {
						top: -15rpx;
					}

					&:nth-child(9) {
						top: -15rpx;
					}

					&:nth-child(10) {
						top: -10rpx;
					}
				}

				.partner-list-bg {
					position: absolute;
					top: 0;
					left: 0;
					width: 710rpx;
					height: 231rpx;
					z-index: 1;
				}
			}
		}

		.info {
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;

			text {
				font-size: 36rpx;
				font-weight: 300;
				line-height: 50.4rpx;
				text-align: center;
			}
		}
	}

	// 底部
	.footer {
		margin-top: 28rpx;
		padding-bottom: 40rpx;

		.contact-bar {
			height: 128rpx;
			padding: 0 32rpx 0 36rpx;
			border-radius: 16rpx;
			box-sizing: border-box;
			background: linear-gradient(100.26deg, #F9E3CE 5.86%, #FFFFFF 82.49%, #F9DDCE 105.95%);

			display: flex;
			justify-content: space-between;
			align-items: center;

			.white-circle {
				width: 84rpx;
				height: 84rpx;
				border-radius: 42rpx;
				background-color: #fff;
				display: flex;
				justify-content: center;
				align-items: center;

				.msg-ico {
					width: 56rpx;
					height: 56rpx;
				}
			}

			.info {
				padding-left: 16rpx;
				flex: 1;
				display: flex;
				flex-direction: column;

				.title {
					line-height: 44rpx;
					font-size: 28rpx;
					font-weight: bold;
					color: rgba(232, 100, 10, 1);
				}

				.sub-title {
					line-height: 36rpx;
					margin-top: 4rpx;
					font-size: 24rpx;
					font-weight: 300;
					color: rgba(102, 102, 102, 1);
				}
			}

			.more {
				width: 40rpx;
				height: 40rpx;
			}
		}

		.footer-img {
			width: 436rpx;
			height: 44rpx;
			margin: 48rpx auto 32rpx;
			display: block;
		}

		.copyright {
			text {
				line-height: 30rpx;
				font-size: 20rpx;
				font-weight: 300;
				text-align: center;
				color: rgba(153, 153, 153, 1);
				display: block;
			}
		}
	}
</style>
<style>
	.ipt-placeholder {
		color: #fff;
	}
</style>